<%@page import="com.kaishengit.entity.Prod"%>

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'edit.jsp' starting page</title>
  </head>
 <body>
   <%
    	Prod prod=(Prod)request.getAttribute("prod");
   %>
   
   <h3>编辑商品</h3>
   <form action="prod.jspx?m=edit" method="post">
   <input type="hidden" name="id" value="<%=prod.getId()%>"/>
     商品名称：<input type="text" name="prodname" value="<%=prod.getProdName()%>"/></br>
     商品价格：<input type="text" name="price" value="<%=prod.getPrice()%>"/><br/>
   <input type="submit" value="修改"/>
   </form>
  </body>
</html>
